package com.ctg.itrdc.sysmgr.portal.api.dto;

import java.io.Serializable;
import java.sql.Timestamp;

import com.ctg.itrdc.pasp.core.DTO;


public class OrgRelDTO extends BaseDTO implements Serializable {
	private static final long serialVersionUID = 1598179584838497003L;

	/**
	 * 组织关系标识,PK
	 */
	private Long orgRelId;

	/**
	 * A组织标识
	 */
	private Long aOrgId;

	/**
	 * 创建人
	 */
	private Long createStaff;

	/**
	 * 修改时间
	 */
	private Timestamp updateDate;

	/**
	 * 组织关系类型,LOVB
	 */
	private String orgRelType;

	/**
	 * 生效时间
	 */
	private Timestamp effDate;

	/**
	 * 状态时间
	 */
	private Timestamp statusDate;

	/**
	 * 租户标识。
	 */
	private Long tenantId;

	/**
	 * 分片键1，固定值-1。
	 */
	private Long shard1;

	/**
	 * 失效时间
	 */
	private Timestamp expDate;

	/**
	 * 修改人
	 */
	private Long updateStaff;

	/**
	 * 分片键2，固定值-1。
	 */
	private Long shard2;

	/**
	 * 状态
	 */
	private String statusCd;

	/**
	 * 创建时间
	 */
	private Timestamp createDate;

	/**
	 * Z组织标识
	 */
	private Long zOrgId;


	public void setOrgRelId(Long orgRelId){
		this.orgRelId = orgRelId;
	}

	public Long getOrgRelId(){
		return this.orgRelId;
	}

	public void setAOrgId(Long aOrgId){
		this.aOrgId = aOrgId;
	}

	public Long getAOrgId(){
		return this.aOrgId;
	}

	public void setCreateStaff(Long createStaff){
		this.createStaff = createStaff;
	}

	public Long getCreateStaff(){
		return this.createStaff;
	}

	public void setUpdateDate(Timestamp updateDate){
		this.updateDate = updateDate;
	}

	public Timestamp getUpdateDate(){
		return this.updateDate;
	}

	public void setOrgRelType(String orgRelType){
		this.orgRelType = orgRelType;
	}

	public String getOrgRelType(){
		return this.orgRelType;
	}

	public void setEffDate(Timestamp effDate){
		this.effDate = effDate;
	}

	public Timestamp getEffDate(){
		return this.effDate;
	}

	public void setStatusDate(Timestamp statusDate){
		this.statusDate = statusDate;
	}

	public Timestamp getStatusDate(){
		return this.statusDate;
	}

	public void setTenantId(Long tenantId){
		this.tenantId = tenantId;
	}

	public Long getTenantId(){
		return this.tenantId;
	}

	public void setShard1(Long shard1){
		this.shard1 = shard1;
	}

	public Long getShard1(){
		return this.shard1;
	}

	public void setExpDate(Timestamp expDate){
		this.expDate = expDate;
	}

	public Timestamp getExpDate(){
		return this.expDate;
	}

	public void setUpdateStaff(Long updateStaff){
		this.updateStaff = updateStaff;
	}

	public Long getUpdateStaff(){
		return this.updateStaff;
	}

	public void setShard2(Long shard2){
		this.shard2 = shard2;
	}

	public Long getShard2(){
		return this.shard2;
	}

	public void setStatusCd(String statusCd){
		this.statusCd = statusCd;
	}

	public String getStatusCd(){
		return this.statusCd;
	}

	public void setCreateDate(Timestamp createDate){
		this.createDate = createDate;
	}

	public Timestamp getCreateDate(){
		return this.createDate;
	}

	public void setZOrgId(Long zOrgId){
		this.zOrgId = zOrgId;
	}

	public Long getZOrgId(){
		return this.zOrgId;
	}

	public Long getId() {
		return orgRelId;
	}
	
	public void setId(Long id) {
		this.orgRelId = id;
	}
    
	public OrgRelDTO() {
		super();
    }
}
